{block name='content'}
<form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
    <div class="layui-card-body padding-40 margin-bottom-40">
        <div class="layui-form-item layui-row layui-col-space15">
            <div class="layui-col-xs12 block relative">
                <span class="color-green label-required-prev">录入人员</span><span class="margin-left-5 color-desc">UserName</span>
                <input class="layui-input" name="username" lay-verify="required" required value="{$vo.username|default=''}" placeholder="请输入反馈人员姓名">
            </div>
        </div>

        <div class="layui-form-item layui-row layui-col-space15">
            <div class="layui-col-xs12 block relative">
                <span class="color-green label-required-prev">售后问题</span><span class="margin-left-5 color-desc">Problems</span>
                <input class="layui-input" name="title" lay-verify="required" required value="{$vo.title|default=''}" placeholder="请输入售后问题">
            </div>
        </div>
        <div class="layui-form-item layui-row layui-col-space15">
            <div class="layui-col-xs12 block relative">
                <span class="color-green label-required-prev">问题描述</span><span class="margin-left-5 color-desc">Question details</span>
                <textarea class="layui-textarea" name="content" cols="3" placeholder="请输入问题描述">{$vo.content|default=''}</textarea>
            </div>
        </div>
        <div class="layui-form-item layui-row layui-col-space15">
            <div class="layui-col-xs12 block relative">
                <span class="color-green label-required-prev">解决方案</span><span class="margin-left-5 color-desc">Solution</span>
                <textarea class="layui-textarea" name="solution" cols="3" placeholder="请输入解决方案">{$vo.solution|default=''}</textarea>
            </div>
        </div>

        <div class="layui-form-item layui-row layui-col-space15">
            <div class="layui-col-xs12 block relative">
                <span class="color-green label-required-prev">售后结果</span><span class="margin-left-5 color-desc">After sales results</span><br>
                <div class="layui-input-inline">
                    {assign  name="status" value="$vo.status|default=1"}
                    <input type="radio" name="status" value="1" title="解决中" {if $status==1}checked{/if}>
                    <input type="radio" name="status" value="2" title="已解决" {if $status==2}checked{/if}>
                </div>
            </div>
        </div>
    </div>

    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
    {php}$order_id = empty($vo['order_id'])?($_GET["order_id"]??0):$vo['order_id'];{/php}
    <input type='hidden' value='{$order_id}' name='order_id'>

    <div class="layui-form-item text-center">
        <button class="layui-btn" lay-submit lay-filter="submit">保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-history-back>取消编辑</button>
    </div>
</form>
{/block}

{block name='script'}
<script>
    (function () {

        layui.form.render();

    })();
</script>
{/block}